﻿<UserControl x:Class="Qplus.UI.PopupUserInfo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="768" d:DesignWidth="480"
             xmlns:my="clr-namespace:Qplus">

    <Grid x:Name="LayoutRoot" ShowGridLines="True">
        <Grid ShowGridLines="True">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid Grid.Row="0" Margin="15">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <Image Width="150" Height="150" Grid.Row="0" Margin="10"
                       Source="/Qplus;component/Pic/dog.png" Stretch="UniformToFill"></Image>
                <my:ButtonEx x:Name="closeBtnEx" Width="46" Height="46" BorderThickness="0"
                             Margin="10" InvisibleMargin="0"
                             HorizontalAlignment="Right" VerticalAlignment="Top"  Click="closeBtnEx_Click">
                    <my:ButtonEx.PressedBackground>
                        <ImageBrush ImageSource="/Qplus;component/Pic/btn_exit_pressed.png" Stretch="None" />
                    </my:ButtonEx.PressedBackground>
                    <my:ButtonEx.Background>
                        <ImageBrush ImageSource="/Qplus;component/Pic/btn_exit.png" Stretch="None" />
                    </my:ButtonEx.Background>
                </my:ButtonEx>
                <my:ButtonEx x:Name="starChatBtnEx" Content="发起聊天"
                             BorderThickness="0"
                             Grid.Row="1" HorizontalAlignment="Center" Margin="10" InvisibleMargin="0"
                             Click="starChatBtnEx_Click">
                    <my:ButtonEx.Background>
                        <ImageBrush ImageSource="/Qplus;component/Pic/t_btn_forbidden.png" />
                    </my:ButtonEx.Background>
                    <my:ButtonEx.PressedBackground>
                        <ImageBrush ImageSource="/Qplus;component/Pic/t_btn_forbidden_pressed.png" />
                    </my:ButtonEx.PressedBackground>
                </my:ButtonEx>
                <Grid Grid.Row="2">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="昵称" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="0"/>
                    <TextBlock Name="nameTxt" Margin="10" Text="" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="1"/>
                    <TextBlock Text="年龄" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="2"/>
                    <TextBlock Name="ageTxt" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="3"/>
                    <TextBlock Text="性别" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="4"/>
                    <TextBlock Name="sexTxt" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" Grid.Column="5"/>
                </Grid>
            </Grid>
<!--
            <Image Grid.Row="1" Source="/Qplus;component/Pic/total_background_.png" Stretch="None"/>
-->
            <Grid Grid.Row="2" Margin="15">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="Auto"/>
                </Grid.RowDefinitions>
                <TextBlock Text="服务器图标" Grid.Row="0" Margin="10"></TextBlock>
                <Grid Grid.Row="1" Margin="10">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Image Grid.Column="0" Source="/Qplus;component/Pic/icon_inform_jingcha.jpg" Stretch="None"></Image>
                    <Image Grid.Column="1" Source="/Qplus;component/Pic/icon_inform_jingcha.jpg" Stretch="None"></Image>
                </Grid>
            </Grid>
<!--
            <Image Grid.Row="3" Source="/Qplus;component/Pic/total_background_.png" Stretch="None"/>
-->
            <Grid Grid.Row="4" Margin="15">
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                </Grid.RowDefinitions>
                <TextBlock Text="成就:(0)" Grid.Row="0" Margin="10"></TextBlock>
                <Grid Grid.Row="1" Margin="10">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Text="成就1" Grid.Column="0"></TextBlock>
                    <TextBlock Text="成就2" Grid.Column="1"></TextBlock>
                    <TextBlock Text="成就3" Grid.Column="2"></TextBlock>
                    <TextBlock Text="成就4" Grid.Column="3"></TextBlock>
                    <TextBlock Text="成就5" Grid.Column="4"></TextBlock>
                </Grid>
                <my:ButtonEx x:Name="reportBtnEx" Content="             " BorderThickness="0"
                             Grid.Row="2" HorizontalAlignment="Right"  InvisibleMargin="0" Margin="10"
                             Click="reportBtnEx_Click">
                    <my:ButtonEx.Background>
                        <ImageBrush ImageSource="/Qplus;component/Pic/btn_jubao_normal.png" Stretch="None" />
                    </my:ButtonEx.Background>
                    <my:ButtonEx.PressedBackground>
                        <ImageBrush ImageSource="/Qplus;component/Pic/btn_jubao_pressed.png" Stretch="None" />
                    </my:ButtonEx.PressedBackground>
                </my:ButtonEx>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
